#ifndef __SE_H__
#define __SE_H__
/////////////////
//include
/////////////////
#include<dsound.h>
#include"../CXBurst/Array.h"
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
class Se
{
public:
	Se(IDirectSoundBuffer8* sound_buffer,IDirectSound8* direct_sound);
	~Se();
	void Play(DWORD priority,DWORD flags);
private:
	IDirectSoundBuffer8* sound_buffer;
	Array<IDirectSoundBuffer*> sound_buffers;
	int now_sound_index;
	int max_sound_index;
};
#endif __SE_H__
